package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;

public class QCformEntity implements Serializable {
    private String INSPECTTYPE;
    private String INSPECTTIMING;
    private String INSPECTSTEPNAME;
    private String EQUIPMENTID;
    private String LOTID;
    private String QCFORMID;
    private String STATE;
    private String NAME;
    private String DESCRIPTION;
    private String OBJECTRRN;
    private QCFORMINFO QCFORM;
    private String RESULTFLAG;
    private String ABANDONINGREASON;
    private String LOCATIONID;
    private ArrayList<String> LOTLIST;
    private ArrayList<String> EQUIPMENTLIST;
    private ArrayList<String> EDCNAMELIST;
    private ArrayList<String> MATERIALLIST;
    private ArrayList<String> DataList;
    private ArrayList<String> LOCATIONLIST;

    public String getLOCATIONID() {
        return LOCATIONID == null ? "" : LOCATIONID;
    }

    public void setLOCATIONID(String LOCATIONID) {
        this.LOCATIONID = LOCATIONID;
    }

    public ArrayList<String> getLOCATIONLIST() {
        if (LOCATIONLIST == null) {
            return new ArrayList<>();
        }
        return LOCATIONLIST;
    }

    public void setLOCATIONLIST(ArrayList<String> LOCATIONLIST) {
        this.LOCATIONLIST = LOCATIONLIST;
    }

    public ArrayList<String> getDataList() {
        if (DataList == null) {
            return new ArrayList<>();
        }
        return DataList;
    }

    public void setDataList(ArrayList<String> dataList) {
        DataList = dataList;
    }

    public ArrayList<String> getMATERIALLIST() {
        if (MATERIALLIST == null) {
            return new ArrayList<>();
        }
        return MATERIALLIST;
    }

    public void setMATERIALLIST(ArrayList<String> MATERIALLIST) {
        this.MATERIALLIST = MATERIALLIST;
    }

    public ArrayList<String> getEDCNAMELIST() {
        if (EDCNAMELIST == null) {
            return new ArrayList<>();
        }
        return EDCNAMELIST;
    }

    public void setEDCNAMELIST(ArrayList<String> EDCNAMELIST) {
        this.EDCNAMELIST = EDCNAMELIST;
    }

    public String getABANDONINGREASON() {
        return ABANDONINGREASON == null ? "" : ABANDONINGREASON;
    }

    public void setABANDONINGREASON(String ABANDONINGREASON) {
        this.ABANDONINGREASON = ABANDONINGREASON;
    }

    public ArrayList<String> getLOTLIST() {
        if (LOTLIST == null) {
            return new ArrayList<>();
        }
        return LOTLIST;
    }

    public void setLOTLIST(ArrayList<String> LOTLIST) {
        this.LOTLIST = LOTLIST;
    }

    public ArrayList<String> getEQUIPMENTLIST() {
        if (EQUIPMENTLIST == null) {
            return new ArrayList<>();
        }
        return EQUIPMENTLIST;
    }

    public void setEQUIPMENTLIST(ArrayList<String> EQUIPMENTLIST) {
        this.EQUIPMENTLIST = EQUIPMENTLIST;
    }

    public String getRESULTFLAG() {
        return RESULTFLAG == null ? "" : RESULTFLAG;
    }

    public void setRESULTFLAG(String RESULTFLAG) {
        this.RESULTFLAG = RESULTFLAG;
    }

    public String getOBJECTRRN() {
        return OBJECTRRN == null ? "" : OBJECTRRN;
    }

    public void setOBJECTRRN(String OBJECTRRN) {
        this.OBJECTRRN = OBJECTRRN;
    }

    public String getQCFORMID() {
        return QCFORMID == null ? "" : QCFORMID;
    }

    public void setQCFORMID(String QCFORMID) {
        this.QCFORMID = QCFORMID;
    }

    public String getSTATE() {
        return STATE == null ? "" : STATE;
    }

    public void setSTATE(String STATE) {
        this.STATE = STATE;
    }

    public String getNAME() {
        return NAME == null ? "" : NAME;
    }

    public void setNAME(String NAME) {
        this.NAME = NAME;
    }

    public String getDESCRIPTION() {
        return DESCRIPTION == null ? "" : DESCRIPTION;
    }

    public void setDESCRIPTION(String DESCRIPTION) {
        this.DESCRIPTION = DESCRIPTION;
    }

    public QCFORMINFO getQCFORM() {
        return QCFORM;
    }

    public void setQCFORM(QCFORMINFO QCFORM) {
        this.QCFORM = QCFORM;
    }

    public String getINSPECTTYPE() {
        return INSPECTTYPE == null ? "" : INSPECTTYPE;
    }

    public void setINSPECTTYPE(String INSPECTTYPE) {
        this.INSPECTTYPE = INSPECTTYPE;
    }

    public String getINSPECTTIMING() {
        return INSPECTTIMING == null ? "" : INSPECTTIMING;
    }

    public void setINSPECTTIMING(String INSPECTTIMING) {
        this.INSPECTTIMING = INSPECTTIMING;
    }

    public String getINSPECTSTEPNAME() {
        return INSPECTSTEPNAME == null ? "" : INSPECTSTEPNAME;
    }

    public void setINSPECTSTEPNAME(String INSPECTSTEPNAME) {
        this.INSPECTSTEPNAME = INSPECTSTEPNAME;
    }

    public String getEQUIPMENTID() {
        return EQUIPMENTID == null ? "" : EQUIPMENTID;
    }

    public void setEQUIPMENTID(String EQUIPMENTID) {
        this.EQUIPMENTID = EQUIPMENTID;
    }

    public String getLOTID() {
        return LOTID == null ? "" : LOTID;
    }

    public void setLOTID(String LOTID) {
        this.LOTID = LOTID;
    }

    public static class QCFORMINFO implements Serializable{
        private String QCFORMID;
        private String INSPECTTIMING;
        private String INSPECTSTEPNAME;
        private String EQUIPMENTID;
        private String LOTID;
        private String STATE;
        private String NAME;
        private String DESCRIPTION;
        private String STEPDESC;
        private String STEPNAME;
        private String INSPECTTYPE;
        private String CIRCUITNAME;
        private String CUSTOMERCODE;
        private String MAINMATTYPE;
        private String OBJECTRRN;
        private String COMMENT;
        private String MATERIALTYPE;
        private String LOCATIONID;
        private String COMMENT2;
        private String FINALLY_RESULT;
        private BigDecimal DATANUMS;
        private ArrayList<ITEMLINESINFO> ITEMLINES;
        private ArrayList<DATALINESINFO> DATALINES;
        private ArrayList<SPCLINESINFO> SPCLINES;

        public String getFINALLY_RESULT() {
            return FINALLY_RESULT == null ? "" : FINALLY_RESULT;
        }

        public void setFINALLY_RESULT(String FINALLY_RESULT) {
            this.FINALLY_RESULT = FINALLY_RESULT;
        }

        public BigDecimal getDATANUMS() {
            return DATANUMS == null ? BigDecimal.ZERO  : DATANUMS;
        }

        public void setDATANUMS(BigDecimal DATANUMS) {
            this.DATANUMS = DATANUMS;
        }

        public String getCOMMENTS2() {
            return COMMENT2 == null ? "" : COMMENT2;
        }

        public void setCOMMENTS2(String COMMENTS2) {
            this.COMMENT2 = COMMENTS2;
        }

        public String getLOCATIONID() {
            return LOCATIONID == null ? "" : LOCATIONID;
        }

        public void setLOCATIONID(String LOCATIONID) {
            this.LOCATIONID = LOCATIONID;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }

        public String getCOMMENT() {
            return COMMENT == null ? "" : COMMENT;
        }

        public void setCOMMENT(String COMMENT) {
            this.COMMENT = COMMENT;
        }

        public String getOBJECTRRN() {
            return OBJECTRRN == null ? "" : OBJECTRRN;
        }

        public void setOBJECTRRN(String OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public String getQCFORMID() {
            return QCFORMID == null ? "" : QCFORMID;
        }

        public void setQCFORMID(String QCFORMID) {
            this.QCFORMID = QCFORMID;
        }

        public String getINSPECTTIMING() {
            return INSPECTTIMING == null ? "" : INSPECTTIMING;
        }

        public void setINSPECTTIMING(String INSPECTTIMING) {
            this.INSPECTTIMING = INSPECTTIMING;
        }

        public String getINSPECTSTEPNAME() {
            return INSPECTSTEPNAME == null ? "" : INSPECTSTEPNAME;
        }

        public void setINSPECTSTEPNAME(String INSPECTSTEPNAME) {
            this.INSPECTSTEPNAME = INSPECTSTEPNAME;
        }

        public String getEQUIPMENTID() {
            return EQUIPMENTID == null ? "" : EQUIPMENTID;
        }

        public void setEQUIPMENTID(String EQUIPMENTID) {
            this.EQUIPMENTID = EQUIPMENTID;
        }

        public String getLOTID() {
            return LOTID == null ? "" : LOTID;
        }

        public void setLOTID(String LOTID) {
            this.LOTID = LOTID;
        }

        public String getSTATE() {
            return STATE == null ? "" : STATE;
        }

        public void setSTATE(String STATE) {
            this.STATE = STATE;
        }

        public String getNAME() {
            return NAME == null ? "" : NAME;
        }

        public void setNAME(String NAME) {
            this.NAME = NAME;
        }

        public String getDESCRIPTION() {
            return DESCRIPTION == null ? "" : DESCRIPTION;
        }

        public void setDESCRIPTION(String DESCRIPTION) {
            this.DESCRIPTION = DESCRIPTION;
        }

        public String getSTEPDESC() {
            return STEPDESC == null ? "" : STEPDESC;
        }

        public void setSTEPDESC(String STEPDESC) {
            this.STEPDESC = STEPDESC;
        }

        public String getSTEPNAME() {
            return STEPNAME == null ? "" : STEPNAME;
        }

        public void setSTEPNAME(String STEPNAME) {
            this.STEPNAME = STEPNAME;
        }

        public String getINSPECTTYPE() {
            return INSPECTTYPE == null ? "" : INSPECTTYPE;
        }

        public void setINSPECTTYPE(String INSPECTTYPE) {
            this.INSPECTTYPE = INSPECTTYPE;
        }

        public String getCIRCUITNAME() {
            return CIRCUITNAME == null ? "" : CIRCUITNAME;
        }

        public void setCIRCUITNAME(String CIRCUITNAME) {
            this.CIRCUITNAME = CIRCUITNAME;
        }

        public String getCUSTOMERCODE() {
            return CUSTOMERCODE == null ? "" : CUSTOMERCODE;
        }

        public void setCUSTOMERCODE(String CUSTOMERCODE) {
            this.CUSTOMERCODE = CUSTOMERCODE;
        }

        public String getMAINMATTYPE() {
            return MAINMATTYPE == null ? "" : MAINMATTYPE;
        }

        public void setMAINMATTYPE(String MAINMATTYPE) {
            this.MAINMATTYPE = MAINMATTYPE;
        }

        public ArrayList<ITEMLINESINFO> getITEMLINES() {
            if (ITEMLINES == null) {
                return new ArrayList<>();
            }
            return ITEMLINES;
        }

        public void setITEMLINES(ArrayList<ITEMLINESINFO> ITEMLINES) {
            this.ITEMLINES = ITEMLINES;
        }

        public ArrayList<DATALINESINFO> getDATALINES() {
            if (DATALINES == null) {
                return new ArrayList<>();
            }
            return DATALINES;
        }

        public void setDATALINES(ArrayList<DATALINESINFO> DATALINES) {
            this.DATALINES = DATALINES;
        }

        public ArrayList<SPCLINESINFO> getSPCLINES() {
            if (SPCLINES == null) {
                return new ArrayList<>();
            }
            return SPCLINES;
        }

        public void setSPCLINES(ArrayList<SPCLINESINFO> SPCLINES) {
            this.SPCLINES = SPCLINES;
        }

        public class ITEMLINESINFO implements Serializable{
            private String OBJECTRRN;
            private String ITEMNAME;
            private String ITEMDESC;
            private String RESULT = "NG";

            public String getOBJECTRRN() {
                return OBJECTRRN == null ? "" : OBJECTRRN;
            }

            public void setOBJECTRRN(String OBJECTRRN) {
                this.OBJECTRRN = OBJECTRRN;
            }

            public String getRESULT() {
                return RESULT == null?"":RESULT;
            }

            public void setRESULT(String RESULT) {
                this.RESULT = RESULT;
            }

            public String getITEMNAME() {
                return ITEMNAME == null ? "" : ITEMNAME;
            }

            public void setITEMNAME(String ITEMNAME) {
                this.ITEMNAME = ITEMNAME;
            }

            public String getITEMDESC() {
                return ITEMDESC == null ? "" : ITEMDESC;
            }

            public void setITEMDESC(String ITEMDESC) {
                this.ITEMDESC = ITEMDESC;
            }

        }

        public class DATALINESINFO implements Serializable{
            private String OBJECTRRN;
            private String ITEMNAME;
            private String ITEMDESC;
            private String DATATYPE;
            private String UNIT;
            private String MINVALUE;
            private String MAXVALUE;
            private String RESULT;
            private String DATAA;
            private String DATAB;
            private String DATAC;
            private String RESULTFLAG;
            private String SHEETRRN;
            private String CALCMETHOD;

            public String getOBJECTRRN() {
                return OBJECTRRN == null ? "" : OBJECTRRN;
            }

            public void setOBJECTRRN(String OBJECTRRN) {
                this.OBJECTRRN = OBJECTRRN;
            }

            public String getITEMNAME() {
                return ITEMNAME == null ? "" : ITEMNAME;
            }

            public void setITEMNAME(String ITEMNAME) {
                this.ITEMNAME = ITEMNAME;
            }

            public String getITEMDESC() {
                return ITEMDESC == null ? "" : ITEMDESC;
            }

            public void setITEMDESC(String ITEMDESC) {
                this.ITEMDESC = ITEMDESC;
            }

            public String getDATATYPE() {
                return DATATYPE == null ? "" : DATATYPE;
            }

            public void setDATATYPE(String DATATYPE) {
                this.DATATYPE = DATATYPE;
            }

            public String getUNIT() {
                return UNIT == null ? "" : UNIT;
            }

            public void setUNIT(String UNIT) {
                this.UNIT = UNIT;
            }

            public String getMINVALUE() {
                return MINVALUE == null ? "" : MINVALUE;
            }

            public void setMINVALUE(String MINVALUE) {
                this.MINVALUE = MINVALUE;
            }

            public String getMAXVALUE() {
                return MAXVALUE == null ? "" : MAXVALUE;
            }

            public void setMAXVALUE(String MAXVALUE) {
                this.MAXVALUE = MAXVALUE;
            }

            public String getRESULT() {
                return RESULT == null ? "" : RESULT;
            }

            public void setRESULT(String RESULT) {
                this.RESULT = RESULT;
            }

            public String getDATAA() {
                return DATAA == null ? "" : DATAA;
            }

            public void setDATAA(String DATAA) {
                this.DATAA = DATAA;
            }

            public String getDATAB() {
                return DATAB == null ? "" : DATAB;
            }

            public void setDATAB(String DATAB) {
                this.DATAB = DATAB;
            }

            public String getDATAC() {
                return DATAC == null ? "" : DATAC;
            }

            public void setDATAC(String DATAC) {
                this.DATAC = DATAC;
            }

            public String getRESULTFLAG() {return RESULTFLAG == null ? "" : RESULTFLAG;}

            public void setRESULTFLAG(String RESULTFLAG) {
                this.RESULTFLAG = RESULTFLAG;
            }

            public String getSHEETRRN() {
                return SHEETRRN == null ? "" : SHEETRRN;
            }

            public void setSHEETRRN(String SHEETRRN) {
                this.SHEETRRN = SHEETRRN;
            }

            public String getCALCMETHOD() {
                return CALCMETHOD == null ? "" : CALCMETHOD;
            }

            public void setCALCMETHOD(String CALCMETHOD) {
                this.CALCMETHOD = CALCMETHOD;
            }
        }

        public static class SPCLINESINFO implements Serializable{
            private String OBJECTRRN;
            private String EDCSETNAME;
            private String EDCSETDESC;
            private String EDCITEMNAME;
            private String EDCITEMDESC;
            private String USL;
            private String SL;
            private String LSL;
            private String COLLECTTYPE;
            private String COLLECTWAY;
            private ArrayList<QCFORMSPCLINE> QCFORMSPCLINEITEM;
            private ArrayList<QCFORMSPCLINE> SPCLINEITEMS;

            public String getCOLLECTWAY() {
                return COLLECTWAY == null ? "" : COLLECTWAY;
            }

            public void setCOLLECTWAY(String COLLECTWAY) {
                this.COLLECTWAY = COLLECTWAY;
            }

            public ArrayList<QCFORMSPCLINE> getSPCLINEITEMS() {
                if (SPCLINEITEMS == null) {
                    return new ArrayList<>();
                }
                return SPCLINEITEMS;
            }

            public void setSPCLINEITEMS(ArrayList<QCFORMSPCLINE> SPCLINEITEMS) {
                this.SPCLINEITEMS = SPCLINEITEMS;
            }

            public String getOBJECTRRN() {
                return OBJECTRRN == null ? "" : OBJECTRRN;
            }

            public void setOBJECTRRN(String OBJECTRRN) {
                this.OBJECTRRN = OBJECTRRN;
            }

            public String getEDCSETNAME() {
                return EDCSETNAME == null ? "" : EDCSETNAME;
            }

            public void setEDCSETNAME(String EDCSETNAME) {
                this.EDCSETNAME = EDCSETNAME;
            }

            public String getEDCSETDESC() {
                return EDCSETDESC == null ? "" : EDCSETDESC;
            }

            public void setEDCSETDESC(String EDCSETDESC) {
                this.EDCSETDESC = EDCSETDESC;
            }

            public String getEDCITEMNAME() {
                return EDCITEMNAME == null ? "" : EDCITEMNAME;
            }

            public void setEDCITEMNAME(String EDCITEMNAME) {
                this.EDCITEMNAME = EDCITEMNAME;
            }

            public String getEDCITEMDESC() {
                return EDCITEMDESC == null ? "" : EDCITEMDESC;
            }

            public void setEDCITEMDESC(String EDCITEMDESC) {
                this.EDCITEMDESC = EDCITEMDESC;
            }

            public String getUSL() {
                return USL == null ? "" : USL;
            }

            public void setUSL(String USL) {
                this.USL = USL;
            }

            public String getSL() {
                return SL == null ? "" : SL;
            }

            public void setSL(String SL) {
                this.SL = SL;
            }

            public String getLSL() {
                return LSL == null ? "" : LSL;
            }

            public void setLSL(String LSL) {
                this.LSL = LSL;
            }

            public String getCOLLECTTYPE() {
                return COLLECTTYPE == null ? "" : COLLECTTYPE;
            }

            public void setCOLLECTTYPE(String COLLECTTYPE) {
                this.COLLECTTYPE = COLLECTTYPE;
            }

            public ArrayList<QCFORMSPCLINE> getQCFORMSPCLINEITEM() {
                if (QCFORMSPCLINEITEM == null) {
                    return new ArrayList<>();
                }
                return QCFORMSPCLINEITEM;
            }

            public void setQCFORMSPCLINEITEM(ArrayList<QCFORMSPCLINE> QCFORMSPCLINEITEM) {
                this.QCFORMSPCLINEITEM = QCFORMSPCLINEITEM;
            }

            @Override
            public String toString() {
                return "SPCLINESINFO{" +
                        "OBJECTRRN='" + OBJECTRRN + '\'' +
                        ", EDCSETNAME='" + EDCSETNAME + '\'' +
                        ", EDCSETDESC='" + EDCSETDESC + '\'' +
                        ", EDCITEMNAME='" + EDCITEMNAME + '\'' +
                        ", EDCITEMDESC='" + EDCITEMDESC + '\'' +
                        ", USL='" + USL + '\'' +
                        ", SL='" + SL + '\'' +
                        ", LSL='" + LSL + '\'' +
                        ", COLLECTTYPE='" + COLLECTTYPE + '\'' +
                        ", QCFORMSPCLINEITEM=" + QCFORMSPCLINEITEM +
                        ", SPCLINEITEMS=" + SPCLINEITEMS +
                        '}';
            }

            public static class QCFORMSPCLINE implements Serializable{
                private String SEQNO;
                private String DCNAME;
                private String DCDATA;
                private String OBJECTRRN;

                public String getOBJECTRRN() {
                    return OBJECTRRN == null ? "" : OBJECTRRN;
                }

                public void setOBJECTRRN(String OBJECTRRN) {
                    this.OBJECTRRN = OBJECTRRN;
                }

                public String getSEQNO() {
                    return SEQNO == null ? "" : SEQNO;
                }

                public void setSEQNO(String SEQNO) {
                    this.SEQNO = SEQNO;
                }

                public String getDCNAME() {
                    return DCNAME == null ? "" : DCNAME;
                }

                public void setDCNAME(String DCNAME) {
                    this.DCNAME = DCNAME;
                }

                public String getDCDATA() {
                    return DCDATA == null ? "" : DCDATA;
                }

                public void setDCDATA(String DCDATA) {
                    this.DCDATA = DCDATA;
                }

                @Override
                public String toString() {
                    return "QCFORMSPCLINE{" +
                            "SEQNO='" + SEQNO + '\'' +
                            ", DCNAME='" + DCNAME + '\'' +
                            ", DCDATA='" + DCDATA + '\'' +
                            ", OBJECTRRN='" + OBJECTRRN + '\'' +
                            '}';
                }
            }
        }
    }
}
